Otherwise this can trigger _sync() calls after the objects it is trying
to update have been destroyed.
Fixes https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/4013
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1782>
}
destroy() {
+ if (this._activeConnectionChangedId) {
+ this._activeConnection.disconnect(this._activeConnectionChangedId);
+ this._activeConnectionChangedId = 0;
+ }
+
this.labelItem.destroy();
this.radioItem.destroy();
}